package edu.sctu.wujiayi.month06.day20150618;

import java.text.MessageFormat;

/**
 * Created by user11 on 2015/6/19.
 */
public class Main {
    public static void main(String[] args) {

        String username = "huangkai1";
        String password = "huangkai";
        String email = "huang_k@yeah.net";
        String c = "ii";
        String a = "regist";

        String str = MessageFormat.format("code[username]={0}&code[password]={1}&code[email]={2}&c={3}&a={4}", username, password,email,c,a);

//        HttpConnection.getconnection("http://api.ii.com.cn/openoauth",str);
//
//        HttpConnection.getconnection("http://172.16.10.37/index.php","title=2015-06-16_朱英志");
//
//        HttpConnection.getconnection("http://localhost:8090/sctu/signin","username=zhuyingzhi&password=13");
    }
}
